/* Copyright (C) 2024  Sauntor <sauntor@live.com>

   This program is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <https://www.gnu.org/licenses/>.
*/

QDialog {
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
}

QLabel[qili-widget="titlebar"] {
    font-size: 18px;
    font-weight: normal;
    line-height: 29px;
    letter-spacing: 0px;
    color: #FF6699;
}

QWidget[qili-widget="titlebar"] > QLabel {
    font-size: 18px;
    font-weight: normal;
    line-height: 29px;
    letter-spacing: 0px;
    color: #FF6699;
}

QWidget[qili-widget="titlebar"] > QPushButton {
    border: none;
    image:url(":/images/close.svg");
}

QWidget[qili-widget="titlebar"] > QPushButton::hover {
    image:url(":/images/close_on.svg");
}

QLabel[qili-widget="help"]{
    font-size: 12px;
    font-weight: normal;
    line-height: 17px;
    letter-spacing: 0px;
    color: #C9CCD0;
}

QLabel[qili-widget="radio"]{
    font-size: 12px;
    font-weight: normal;
    line-height: 17px;
    letter-spacing: 0px;
    color: #61666D;
}

QPushButton[qili-btn="primary"]{
    border: none;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0px;
    border-radius: 4px;
    background: #FF6699;
    color: #FFFFFF;
}
QPushButton[qili-btn="primary"]:hover{
        background-color:rgb(255, 79, 135);
}
QPushButton[qili-btn="primary"]:pressed{
        background-color:rgb(220, 88, 132);
}
QPushButton[qili-btn="clear"]{
    image:url(":/images/clear.svg");
}
QPushButton[qili-btn="clear"]:hover{
    image:url(":/images/clear_on.svg");
}

QRadioButton[qili-btn="radio"]::indicator {
    width: 15px;
    height: 15px;
}
QRadioButton[qili-btn="radio"]::indicator:checked {
    image: url(":/images/save.svg");
}
QWidget[qili-widget="text-field"] {
/*    border: 5px solid #E3E5E7;*/
    border: 5px solid red;
    border-radius: 4px;
}


QWidget[qili-widget="text-field"] > QLabel {
    background: #F6F7F8;
    border: 1px solid #E3E5E7;
    border-right: 1px solid #E3E5E7;
    border-radius: 4px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    font-size: 14px;
    font-weight: bold;
    line-height: 16px;
    color: #18191C;
    padding: 0px;
}

QWidget[qili-widget="text-field"] > QLineEdit {
    border: 1px solid #E3E5E7;
    border-left: 0px;
    border-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
    letter-spacing: 0px;
}
